package com.testwa.distest.client.device.listener.callback.remote;import com.google.protobuf.ByteString;import com.testwa.distest.client.android.ADBCommandUtils;import com.testwa.distest.client.device.driver.IDeviceRemoteControlDriver;import com.testwa.distest.client.device.listener.callback.IRemoteCommandCallBack;import lombok.extern.slf4j.Slf4j;/** * @Program: distest * @Description: * @Author: wen * @Create: 2018-05-08 16:36 **/@Slf4jpublic class UninstallAppCallback implements IRemoteCommandCallBack<ByteString> {    private IDeviceRemoteControlDriver client;    public UninstallAppCallback(IDeviceRemoteControlDriver client){        this.client = client;    }    @Override    public void callback(ByteString bytes) {        String command = bytes.toStringUtf8();        client.uninstallApp(command);    }}